getRoundedCorner

@Nullable
open fun getRoundedCorner(position: Int): @Nullable RoundedCornerCompat(source)

Returns the RoundedCornerCompat of the given position if there is one.

Return

the rounded corner of the given position. Returns null if there is none or the rounded corner area is not inside the bounds of the window.

Parameters

position

the position of the rounded corner on the display. The value should be one of the following: POSITION_TOP_LEFT, POSITION_TOP_RIGHT, POSITION_BOTTOM_RIGHT, POSITION_BOTTOM_LEFT.